#ifndef INIREADER_INC
#define INIREADER_INC

class INIReader
{
public:
	INIReader(const std::string&, char ft = ',', char lt = '\n', char ec = '"');

public:
	bool prepare();
	const std::string& fetch(const std::string&);
	void over();

private:
	char _ft;
	char _lt;
	char _ec;
	std::string _file;
	std::ifstream _ifs;
	std::map<std::string, std::string> _values;
};

#endif